package com.bjpowernode.commons.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class Product implements Serializable {
    private Long id;
    private String productName;
    private Double rate;
    private Integer cycle;
    private Date releaseTime;
    private Integer productType;
    private String productNo;
    private Double productMoney;
    private Double leftProductMoney;
    private Double bidMinLimit;
    private Double bidMaxLimit;
    private Integer productStatus;
    private Date productFullTime;
    private String productDesc;

    // 投资记录的集合，产品和投资记录是一对多的关系，在一的一方可以添加多的一方的集合引用
    private List<BidInfo> bidInfos;
}
